package com.granada.behaviour.interfaces;

import com.granada.entity.SysRole;

import java.util.List;

public interface RoleBehavior {
    List<SysRole> getRoleInfoByUserId(Long userId) throws Exception;

    List<String> getRoleNames(Long userId) throws Exception;


    public void updateAfter(Long roleId) throws Exception;
    public void deleteAfter(Long roleId) throws Exception;
}
